EraseArc
EraseArc
Fill wedge of an oval with background pattern void EraseArc( theRect, startAngle, arcAngle ); Rect *theRect ; rectangle defining position and size short startAngle ; position where arc begins
short arcAngle ; extent of the arc
EraseArc erases a wedge of an oval whose size is defined by a rectangle. The wedge is filled with the background pattern of the current GrafPort, using the theRect is the address of an 8-byte Rect structure, defined in local coordinates. It defines the size and position of the oval, of which the
arc is a subset.
startAngle specifies the starting position and ...
arcAngle specifies the distance along the arc to be erased. See FrameArc for a description of Quickdraw "rectangular degrees" and related
information and examples.
Notes: EraseArc is functionally equivalent to: FillArc( & theRect, startAngle, arcAngle, thePort->bkPat ); The pen position is not changed by this function.
As with all Quickdraw drawing, the output is clipped to the intersection of
the current GrafPort's bitMap boundary rectangle, the port rectangle, clipping region, and visible region.